﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

using BOSS.Domain.Products;

namespace BOSS.Domain.Warehouses
{
    /// <summary>
    /// 库存
    /// </summary>
    [Serializable]
    public class Inventory : Entity<int>
    {
        /// <summary>
        /// 获取 / 设置 仓库
        /// </summary>
        public virtual Warehouse Warehouse { get; set; }

        /// <summary>
        /// 获取 / 设置 产品
        /// </summary>
        public virtual Product Product { get; set; }

        /// <summary>
        /// 获取 / 设置 库存数量
        /// </summary>
        public virtual int StockNumber { get; set; }
    }
}
